<template>
    <h5>父组件</h5>
    <div class="box">
        <globalComponent/>
        <LocalComponent/>
    </div>
</template>

<style scoped>
h5{
    border:1px dashed black;
}
.box{
    display:flex;
}
:deep(.title){
    border: 3px dotted black;
}
</style>

<script setup>

import LocalComponent from './LocalComponent.vue';
</script>